% # File Info -- stSamp.tex, Part of SDUSThesis package, sample usage.

% Version Control System Information -- Subversion, hosts on <+Google Code+>;
% $URL: http://sdusthesis.googlecode.com/svn/tags/alpha-0.3/stSamp.tex $;
% $Id: stSamp.tex 11 2012-04-07 14:04:48Z suxpert@gmail.com $;

% # Copyright (C) 2009-2012, LiTuX, All wrongs reserved.
%
%	Permission is granted to copy, distribute and/or modify this document
%	under the terms of the GNU Free Documentation License, Version 1.3
%	or any later version published by the Free Software Foundation;
%	with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
%	A copy of the license is included in the section entitled "GNU
%	Free Documentation License".
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% SDUSThesis is provided as a class of LaTeX-2e:
\documentclass{SDUSThesis}
% \documentclass[abstract]{SDUSThesis}
%% `abstract' option is used to generate the detailed abstract version of
%% the thesis. Note that you have to make a slight modification on your
%% standard version of the thesis(or with the `thesis' option) to get the
%% detailed abstract even if your thesis has the same structure of this sample.

%% For better control of the structure, we recommend to include different
%% parts into a main TeX file.
%% When use abstract option, include the abstract part only.
% \includeonly{stAbs, stDAbs}

%% You can of cause use any other packages if you want,
%% note that SDUSThesis has load lots of useful packages.
\usepackage{lipsum}
\usepackage{listings}
\lstset{
	language=tex,
	basicstyle=\ttfamily\small,
	numbers=left,
	numberstyle=\footnotesize,
	% numbersep=10pt,
	numberfirstline=false,
	numbersep=0.5em,
	stepnumber=2,
	breaklines=true,
	extendedchars=false,
	tabsize=4,
	xleftmargin=2em,
	% xrightmargin=0em,
	% framexleftmargin=-10mm,
	% framexrightmargin=-10mm,
	% frame=none,
	backgroundcolor=\color[RGB]{240,240,240},
	keywordstyle=\color[RGB]{128,64,64},
	% identifierstyle=,
	numberstyle=\color{purple},
	commentstyle=\color{blue},
	stringstyle=\color[RGB]{255,0,255},
	% title=\lstname,
	showstringspaces=false
}

\usepackage{showexpl}
% \usepackage{pdfpages}

%% Both the \author and the \title command have an optional argument
%% indicating the English version of the information.
%% The \supervisor command is the same type, as is used following.
\author[Zhang San]{张三}
\title[Typesetting on Master's thesis in SDUST]{山东科技大学硕士毕业论文范例}
% \date{2012.5.13}	% if not specified, default is \today
%% Note that all date format should be YYYY.MM.DD or YYYY/MM/DD or YYYY-MM-DD,
%% For foreigners, use those command as follows:
% \author{John Smith}
% \title{Typesetting on Master's thesis in SDUST}

% \classNo{TD745}	% default is empty
% \secType{公开}	% default is `公开'
% \UDC{}		% default is empty
% \orgNo{10424}		% default is `10424'
\degree{Science}{硕士学位}
\major{运筹学与控制论}
\field{稳定性与现代控制理论}

\supervisor[Emanon.~W.]{吴明士}
\ptitle{教授}{Prof.~}

\advisor{其他导师}{职称}
\advisor{更多导师}{副教授}

% \enroll{2009.9.3}	% default is Sept., 3 years ago.
% \defense{2012.6.17}	% default is June, this year.

\college{信息科学与工程学院}{College of Information Science and Engineering}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%% The cover page and so on are created by \maketitle command,
%% a \maketitle command is actually 2/3 commands,
%% \makecover{..} for the cover page,
%% \makeflypage will create the next two summary pages in Chinese and English,
%% and \affirmation shows the affirmation page.
%% You can of cause use them seperately.
\maketitle

%% after that, use this \stfrontmatter command to tell SDUSThesis that
%% the following will be abstracts and contents.
\stfrontmatter

%% zhAbstract environment is used to add the abstract in Chinese,
%% enAbstract environment is for English. Use the corresponding
%% keyword command inside these environment to add keywords.
\include{stAbs}

%% \makecontents will add the content both in Chinese and English,
%% only if the structure of the text is correctly specified.
%% If `abstract' option is specified, this command will do nothing.
\makecontents

%% \stmainmatter tells SDUSThesis that the next part will be the body.
\stmainmatter
% \include{stDAbs}

%% You can of cause include another TeX file
\include{stBody}
\include{samp}

%% \stbackmatter tells SDUSThesis that the body part is ended.
\stbackmatter
% acknowledgement
% works
% bibliography

%% All appendix should be after \appendix command
\appendix

\end{document}

